<template>
  <div>

    <div height="100%" class="ui-row" style="margin: 80px 20px; height: 100px;">
      <div class="left-item ui-col " style="padding-left: 10px; padding-right: 10px;height:450px">
        <div style="height: 100px;">
          <div class="ui-navigator">
            <div class="title">404</div>
            <span class="ui-text">
              <!---->
              <span>您没有访问权限，请返回</span>
              <!---->
            </span>
          </div>
        </div>
      </div>

    </div>
    <div style="padding-top:300px;margin:0 50px">
      <x-button type="primary" @click.native="back">返回</x-button>
    </div>
  </div>
</template>

<script>
import { XButton, XHeader } from "vux";
export default {
  data() {
    return {};
  },
  components: {
    XButton
  },
  methods: {
    back() {
      console.log(1);
      this.$router.push("/");
    }
  }
};
</script>

<style scoped>
.ui-row {
  position: relative;
  -webkit-flex: 1;
  flex: 1;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
}
.left-item {
  background: #ff4545 no-repeat 95% 100%;
  background-size: 50px;
  box-shadow: 0 4px 16px 0 #ff4545;
  border-radius: 5px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.ui-col {
  position: relative;
  min-width: 0;
  display: -webkit-flex;
  display: flex;
  -webkit-flex: 1;
  flex: 1;
  -webkit-align-items: center;
  align-items: center;
  height: 100%;
  min-width: 0;
  -webkit-flex-direction: column;
  flex-direction: column;
  width: 100%;
}
.title {
  color: #fff;
  font-size: 88px;
  margin-top: -100px;
  margin-bottom: 10px;
}
.ui-text {
  color: #fff;
  font-size: 14px;
}
</style>
